@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>消息列表</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3" style="width:195px">
                                <#SelectCon id="msgType" name="消息类型" >
                                    <option value=-1>全部</option>
                                    <option value=0>手工</option>
                                    <option value=1>系统</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3" style="width:210px">
                                <#NameCon id="msgContent" name="消息内容"  placeholder="消息内容"/>
                            </div>
                            <div class="col-sm-3" style="width:75px">
                                <#button name="搜索" icon="fa-search" clickFun="MessagesList.search()"/>
                            </div>
                            <div class="col-sm-3" style="width:75px">
                                <#button name="发送消息页面" icon="fa fa-arrow-circle-left" clickFun="MessagesList.sendMessage()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="MessagesListTableToolbar" role="group">
                            @if(shiro.hasPermission("/MessagesList/add")){
                                <#button name="添加" icon="fa-plus" clickFun="MessagesList.openAddMessagesList()"/>
                            @}
                            @if(shiro.hasPermission("/MessagesList/update")){
                                <#button name="修改" icon="fa-edit" clickFun="MessagesList.openMessagesListDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/MessagesList/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="MessagesList.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="MessagesListTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/messages/messagesList.js"></script>
@}
